﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Pagamento.aspx.cs" Inherits="HelpUs_S2B.Interface.pagamento" MasterPageFile="../MasterPages/empresa.Master" %>


<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="Head">

</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="Conteudo">


    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
        CellPadding="3" DataSourceID="SqlDataSourcePagamento" ForeColor="Black" 
        GridLines="Vertical">
        <AlternatingRowStyle BackColor="#CCCCCC" />
        <Columns>
            <asp:BoundField DataField="tituloProb" HeaderText="Título" 
                SortExpression="tituloProb" />
            <asp:BoundField DataField="nomeUsuRe" HeaderText="Resolvedor" 
                SortExpression="nomeUsuRe" />
            <asp:BoundField DataField="telCel" HeaderText="Tel.: Celular" 
                SortExpression="telCel" />
            <asp:BoundField DataField="telResid" HeaderText="Tel.: Residencial" 
                SortExpression="telResid" />
            <asp:BoundField DataField="vlPremio" HeaderText="Valor Prêmio" 
                SortExpression="vlPremio" />
            <asp:BoundField DataField="formaPag" HeaderText="Forma Pagamento" 
                SortExpression="formaPag" />
        </Columns>
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#808080" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSourcePagamento" runat="server" 
        ConnectionString="<%$ ConnectionStrings:HelpUsConnectionStringValdevir %>" 
        SelectCommand="SELECT pagamentoSets.formaPag, premioSets.vlPremio, usuResolvedorSets.nomeUsuRe, usuResolvedorSets.telCel, usuResolvedorSets.telResid, premioSet_problemas.tituloProb FROM premioSet_problemas INNER JOIN premioSets ON premioSet_problemas.idProblema = premioSets.problema_idProblema CROSS JOIN usuResolvedorSets CROSS JOIN pagamentoSets">
    </asp:SqlDataSource>


</asp:Content>